package com.mdlib.helper.model.entity;

import com.google.gson.annotations.SerializedName;
import com.mdlib.helper.utils.MDAppUtils;

import java.io.Serializable;

/**
 * 作者：HQY on 16/11/14 17:48
 * 邮箱：hqy_xz@126.com
 */

public class RunEntity implements Serializable {


    /**
     * real_name : 陈柏年
     * ping_score : 3.5
     * img_path : /data/run_pic/20161104/c3b374af6cf6d2179da6c7e3cc11d327.jpg
     * distance : 0.00
     */
    @SerializedName("real_name")
    private String realName;
    @SerializedName("ping_score")
    private String pingScore;
    @SerializedName("img_path")
    private String imgPath;
    private String distance;

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getPingScore() {
        return pingScore;
    }

    public void setPingScore(String pingScore) {
        this.pingScore = pingScore;
    }

    public String getImgPath() {
        return MDAppUtils.getImageSrc(imgPath);
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public String getDistance() {
        return distance;
    }

    public void setDistance(String distance) {
        this.distance = distance;
    }
}
